package cn.school.dao;

import java.util.List;

import cn.school.entity.Subject;
import org.apache.ibatis.annotations.Param;

public interface SubjectDao {

	public List<Subject> findALL(@Param("pageNo")int pageNo,@Param("pageSize")int pageSize);

	public int add(Subject s);

	public int del(long id);

	public int upd(long id);

	public List<Subject> paging(int pageNo, int pageSize);

	public int total();
}
